package ch.zbw.sysVentory.agent.readData;

public class ReadComputer {

    public static String getName() {
	String s = CmdLesen.lesen("wmic computersystem get name");
	s = s.replaceAll("Name", "");
	s = s.trim();
	return s;
    }

    public static int getRam() {
	// wmicmemorychipgetcapacity
	String s = CmdLesen.lesen("wmic memorychip get capacity");
	s = s.replaceAll("Capacity", "");
	s = s.trim();
	return Integer.parseInt(s);
    }

    public static String getTyp() {
	return null;
    }

}
